package com.m.job.logs.service;



import com.m.job.logs.model.MJobInstanceHistory;
import com.m.job.logs.model.dto.MJobInstanceHistoryDto;

import java.util.List;


public interface MJobInstanceHistoryService {

	/**
	 * 列表数据查询
	 * @param history
	 * @return
	 */
	List<MJobInstanceHistoryDto> getList(MJobInstanceHistoryDto history);

	/**
	 * 根据ID删除
	 * @param intanceHistoryId
	 * @return
	 */
	int deleteByPrimaryKey(String intanceHistoryId);
	
	

	/**
	 * 新增
	 * @param record
	 * @return
	 */
	void insertSelective(MJobInstanceHistory record);

	/**
	 * 根据ID查询
	 * @param intanceHistoryId
	 * @return
	 */
	MJobInstanceHistory selectByPrimaryKey(String intanceHistoryId);

	/**
	 * 修改
	 * @param record
	 * @return
	 */
	int updateByPrimaryKeySelective(MJobInstanceHistory record);

	/**
	 * 批量新增
	 * @param historyList
	 * @return
	 */
	void  insertBatch(List<MJobInstanceHistory>  historyList);

	

}
